<?php
include_package( 'Xml' );

class XmlDatabaseRenderer {
	
	function Render( &$oConfiguration, &$oDatabase ) {
		$oDocument = new XmlDocument( 'DATABASE_DEFINITION');
		$oDocument->AddElement( new XmlDatabaseElement( $oConfiguration, $oDatabase ) );
		
		return $oDocument->Generate();
	}
	
}

require_once( 'XmlDatabaseElement.php' );

?>
